package cn.yunwei.module.exception;

import lombok.Data;

/**
 * @author wangbinggui
 */
@Data
public class ErrorCode {
    // 错误码
    private Integer code;

    // 错误信息
    private final String msg;

    public ErrorCode(Integer code, String message) {
        this.code = code;
        this.msg = message;
    }
}
